package com.erp.user.service;

import com.erp.user.entity.RolePermit;
import com.erp.common.response.ListVo;
import com.erp.user.request.*;
import com.erp.user.response.*;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author shensong
 * @program machining_system.v1.0.0
 * @description  服务类
 * @date 2022/12/21 10:56:35
 */
public interface RolePermitService extends IService<RolePermit> {

    ListVo<List<RolePermitInfoResp>> index(RolePermitPageReq request);

    Boolean store(RolePermitAddReq request);

    Boolean update(RolePermitUpdateReq request);

    Boolean destroy(RolePermitDeleteReq request);

    Boolean approve(RolePermitApproveReq request);

    Boolean enabled(RolePermitStatusReq request);

    RolePermitInfoResp show(RolePermitInfoReq request);

    RolePermitDetailInfoResp detail(RolePermitInfoReq request);

    List<RolePermitInfoResp> option(RolePermitListReq request);

    List<RolePermitSearchInfoResp> search(RolePermitSearchReq request);

}
